package com.baoyi.domain;

import java.sql.Date;
import java.sql.Timestamp;

public class Pic {

	private String id;
	private Timestamp starDate;
	private Timestamp updateDate;
	private Long score;
	private String catalogs;

	public String getCatalogs() {
		return catalogs;
	}

	public void setCatalogs(String catalogs) {
		this.catalogs = catalogs;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Timestamp getStarDate() {
		if (null == starDate) {
			starDate = new Timestamp(System.currentTimeMillis());
		}
		return starDate;
	}

	public void setStarDate(Timestamp starDate) {

		this.starDate = starDate;
	}

	public Timestamp getUpdateDate() {
		if (null == updateDate) {
			updateDate = new Timestamp(System.currentTimeMillis());
		}
		return updateDate;
	}

	public void setUpdateDate(Timestamp updateDate) {
		this.updateDate = updateDate;
	}

	public Long getScore() {
		return score;
	}

	public void setScore(Long score) {
		this.score = score;
	}

}
